<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登陆页面</title>
</head>
<body>

${sessionScope.SPRING_SECURITY_LAST_EXCEPTION.message}
	<form action="${pageContext.request.contextPath}/j_spring_security_check" method="post">
	    <table border="1">
	   		<tr>
	   			<td align="center" colspan="2">
	   				<h3>用户登录</h3>
	   			</td>
	   		</tr>
			<tr>
				<td align="right">
					用户名
				</td>
				<td align="left">
					<input type="text" id="userName" name="j_username">
				</td>
			</tr>
			<tr>
				<td align="right">
					密&nbsp;码
				</td>
				<td align="left">
					<input type="text" id="password" name="j_password">
				</td>
			</tr>
			<tr>
				<td align="center" colspan="2">
					<input type="submit" value="登录">
					&nbsp;
					<input type="reset" value="重置">
				</td>
			</tr>
	    </table>
    </form>
</body>
</html>